package com.jnu.bookstore.data;

import java.io.Serializable;

public class Book implements Serializable {
    private  String name;
    private int pictureID;

    public Book(String name, int pictureID){
        this.name=name;
        this.pictureID=pictureID;
    }

    public String getTitle() {
        return name;
    }

    public String getName() {
        return name;
    }

    public int getCoverResourceId(){
        return pictureID;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setPictureID(int id) {
        this.pictureID = id;
    }

}
